package com.blb.ioc.demo2;

import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;

/**
 * 因特尔cpu
 */
@Qualifier("intel")
@Component
public class IntelCpu implements Cpu {

    @Override
    public void run() {
        System.out.println("因特尔CPU开始运行");
    }
}
